package com.bsj.sipgateway.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "sip", ignoreInvalidFields = true)
@Order(0)
public class SipConfig {

	String sipIp;
	Integer sipPort;
	String sipDomain;
	String sipId;
	String sipPassword;
	String sipRealIp;
	Boolean needPassword;

	Integer speed;

	String mediaWanIp;

	String mediaUdpPort;

	String mediaBackUdpPort;

	String mediaTcpPort;

//	String nvrId;

	Boolean nvrNeed;

	public String getCvrIds() {
		return cvrIds;
	}

	public void setCvrIds(String cvrIds) {
		this.cvrIds = cvrIds;
	}

	String cvrIds;

//	public String getNvrId() {
//		return nvrId;
//	}
//
//	public void setNvrId(String nvrId) {
//		this.nvrId = nvrId;
//	}

	public Boolean getNeedPassword() {
		return needPassword;
	}

	public void setNeedPassword(Boolean needPassword) {
		this.needPassword = needPassword;
	}

	public String getSipRealIp() {
		return sipRealIp;
	}

	public void setSipRealIp(String sipRealIp) {
		this.sipRealIp = sipRealIp;
	}

	public String getSipIp() {
		return sipIp;
	}

	public void setSipIp(String sipIp) {
		this.sipIp = sipIp;
	}

	public Integer getSipPort() {
		return sipPort;
	}

	public void setSipPort(Integer sipPort) {
		this.sipPort = sipPort;
	}

	public String getSipDomain() {
		return sipDomain;
	}

	public void setSipDomain(String sipDomain) {
		this.sipDomain = sipDomain;
	}

	public String getSipId() {
		return sipId;
	}

	public void setSipId(String sipId) {
		this.sipId = sipId;
	}

	public String getSipPassword() {
		return sipPassword;
	}

	public void setSipPassword(String sipPassword) {
		this.sipPassword = sipPassword;
	}

	public Integer getSpeed() {
		return speed;
	}

	public void setSpeed(Integer speed) {
		this.speed = speed;
	}

	public String getMediaWanIp() {
		return mediaWanIp;
	}

	public void setMediaWanIp(String mediaWanIp) {
		this.mediaWanIp = mediaWanIp;
	}

	public String getMediaUdpPort() {
		return mediaUdpPort;
	}

	public void setMediaUdpPort(String mediaUdpPort) {
		this.mediaUdpPort = mediaUdpPort;
	}

	public String getMediaTcpPort() {
		return mediaTcpPort;
	}

	public void setMediaTcpPort(String mediaTcpPort) {
		this.mediaTcpPort = mediaTcpPort;
	}

	public String getMediaBackUdpPort() {
		return mediaBackUdpPort;
	}

	public void setMediaBackUdpPort(String mediaBackUdpPort) {
		this.mediaBackUdpPort = mediaBackUdpPort;
	}

	public Boolean getNvrNeed() {
		return nvrNeed;
	}

	public void setNvrNeed(Boolean nvrNeed) {
		this.nvrNeed = nvrNeed;
	}
}
